package com.nbsaas.boot.shiro3.controller;

import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class WebController {

    @Resource
    private UserService userService;

    @RequestMapping("/index")
    public String index(){
        userService.hi();
        return "hello world";
    }
}
